package com.morder.application;

import android.app.Application;

import com.morder.databases.DbHelper;

public class MOrderApplication extends Application {

  @Override
  public void onCreate() {
    super.onCreate();
    AppPreference.initialize(this);
    DbHelper.initialize(this);
  }

  @Override
  public void onTerminate() {
    super.onTerminate();
    DbHelper.terminate();
    AppPreference.terminate();
  }
}
